<?php

require_once "lib/nusoap.php";

$client = new nusoap_client('http://localhost:800/Shopping/services.php?wsdl', true);

$err = $client->getError();
if ($err)
	echo "<strong>Error: </strong>" . $err;

$result = $client->call('SearchProduct', array('namea' => 'ao thun ho', 'cassssaa' => '8'));
if ($client->fault) {
	echo "<strong>Fault: </strong>";
	print_r($result);
}
print_r($result);